package com.leonzhangxf.springdatastudy.repo.entity;

import java.util.EventObject;

/**
 * @author leonzhangxf
 */
public class StudentSaveOrUpdateEvent extends EventObject {
    /**
     * Constructs a prototypical Event.
     *
     * @param source the object on which the Event initially occurred
     * @throws IllegalArgumentException if source is null
     */
    public StudentSaveOrUpdateEvent(String source) {
        super(source);
    }

    public String getMessage() {
        return source.toString();
    }
}
